/**
 * 获取状态类型
 */
export function internalGetstatustype(seltype, loglevel) {
    // var clientversion = t_cstr(Request.ServerVariables("HTTP_CLIENTVERSION")).trim().toLowerCase(); // 客户端版本
    let returnStr = [];

    seltype = seltype.toLowerCase();

    // 最老的版本
    if (loglevel < 2) {
        // 适应指定版本
        switch (seltype) {
            case 'getuserinfo_usercenter_log':
            case 'getuserinfo_id':
            case 'getuserinfo':
                returnStr = '5,10,9,4,7,8,15,2,3';
                break;
            case 'alluserlog':
                returnStr = '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15';
                break;
            default:
                break;
        }
    } else if (loglevel === 2) {
        // 适应书单
        switch (seltype) {
            case 'getuserinfo_usercenter_log': // 增加类型，函数要有调整
            case 'getuserinfo_id':
            case 'getuserinfo':
                returnStr = '5,10,9,4,7,8,15,2,3,16,17,18,19';
                break;
            case 'alluserlog': // 增加类型，函数要有调整
                returnStr = '';
                break;
            default:
                break;
        }
    }

    return returnStr;
}